<?php if (!defined('THINK_PATH')) exit(); /*a:9:{s:67:"/www/htdocs/myb/public/../application/ablog/view/article/lists.html";i:1479354490;s:60:"/www/htdocs/myb/public/../application/ablog/view/layout.html";i:1479354490;s:65:"/www/htdocs/myb/public/../application/ablog/view/layout/head.html";i:1479742150;s:62:"/www/htdocs/myb/public/../application/ablog/view/inc/rec1.html";i:1479354491;s:62:"/www/htdocs/myb/public/../application/ablog/view/inc/list.html";i:1479354491;s:65:"/www/htdocs/myb/public/../application/ablog/view/inc/tuijian.html";i:1479354491;s:62:"/www/htdocs/myb/public/../application/ablog/view/inc/rec2.html";i:1479354491;s:61:"/www/htdocs/myb/public/../application/ablog/view/inc/tag.html";i:1479354491;s:65:"/www/htdocs/myb/public/../application/ablog/view/layout/foot.html";i:1479354492;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title><?php echo $sys['title']; ?></title>
<link rel='stylesheet' id='da-bootstrap-css'  href='http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.css' type='text/css' media='all' />
<link rel='stylesheet' id='da-fontawesome-css'  href='http://apps.bdimg.com/libs/fontawesome/4.2.0/css/font-awesome.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='da-main-css'  href='/static/ablog/css/main.css' type='text/css' media='all' />
<meta name="keywords" content="<?php echo $sys['keyword']; ?>">
<meta name="description" content="<?php echo $sys['description']; ?>">
<!--[if lt IE 9]><script src="http://apps.bdimg.com/libs/html5shiv/r29/html5.min.js"></script><![endif]-->
<!-- <script language="javascript">if(top !== self){location.href = "about:blank";}</script> -->
</head>
<?php 
	$c = com_controller();
	switch($c){
		case 'index':
			echo "<body class='home blog'>";break;
		case 'article':
			$a = com_action();
			if($a=='detail'){
				echo "<body class='single'>";break;
			}elseif($a=='search'){
				echo "<body class='search'>";break;
			}
			break;
		default:
			echo "<body>";				
	}
 ?>
<header class="header">
<div class="container">
	<h1 class="logo"><a href="/" title="<?php echo $sys['title']; ?>"><?php echo $sys['title']; ?></a></h1>
	<div class="brand">
		<?php echo $sys['sub_title']; ?>
	</div>
	<ul class="site-nav site-navbar">
		<?php if(is_array($nav1) || $nav1 instanceof \think\Collection): $i = 0; $__LIST__ = $nav1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
			<li <?php if($_SERVER['REQUEST_URI'] == $v['url']): ?>class="active"<?php endif; ?>><a href="<?php echo $v['url']; ?>" <?php if($v['link_type']): ?>target='_blank'<?php endif; ?>><?php echo $v['title']; ?></a></li>
		<?php endforeach; endif; else: echo "" ;endif; ?>
		<li class="navto-search"><a href="javascript:;" class="search-show active"><i class="fa fa-search"></i></a></li>
	</ul>
	<div class="topbar">
		<ul class="site-nav topmenu">
			<?php if(is_array($nav2) || $nav2 instanceof \think\Collection): $i = 0; $__LIST__ = $nav2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
				<li><a href="<?php echo $v['url']; ?>" <?php if($v['link_type']): ?>target='_blank'<?php endif; ?>><?php echo $v['title']; ?></a></li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
				<li><a href="http://user.mayibang.co" style="color:#FF5E52;">会员中心</a></li>
		</ul>
	</div>
	<i class="fa fa-bars m-icon-nav"></i>
</div>
</header>
<div class="site-search">
<div class="container">
	<form method="get" class="site-search-form" action="<?php echo url('article/search'); ?>">
		<input class="search-input" name="keyword" type="text" placeholder="输入关键字搜索" value="<?php if(isset($keyword)): ?><?php echo $keyword; endif; ?>" ><button class="search-btn" type="submit"><i class="fa fa-search"></i></button>
	</form>
</div>
</div>
	<section class="container">
	<div class="content-wrap">
		<div class="content">
			
			<?php if($rec1): ?>
			<article class="excerpt-see excerpt-see-index">
				<h2>
					<a class="red" href="<?php echo url('article/lists','id='.$rec1['cat_id']); ?>">【<?php echo $rec1['cat_title']; ?>】</a>
					<a href="<?php echo url('article/detail','id='.$rec1['id']); ?>" title="<?php echo $rec1['title']; ?>"><?php echo $rec1['title']; ?></a>
				</h2>
				<p class="note">
					<?php echo com_substr(strip_tags($rec1['content']),130); ?>
				</p>
			</article>
			<?php endif; ?>
			<div class="title">
				<h3><?php echo $info['cat_title']; ?></h3>
		</div>
			
		<?php if(is_array($list) || $list instanceof \think\Collection): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
			<article class="excerpt excerpt-1">
				<a class="focus" href="http://www.daqianduan.com/6312.html">
					<img data-src="<?php echo attach($v['pic']); ?>" class="thumb" src="<?php echo attach($v['pic']); ?>" style="display: inline;">
				</a>
				<header>
					<a class="cat" href="<?php echo url('article/lists','id='.$v['cat_id']); ?>"><?php echo $v['cat_title']; ?><i></i></a>
					<h2>
						<a href="<?php echo url('article/detail','id='.$v['id']); ?>" title="<?php echo $v['title']; ?>"><?php echo $v['title']; ?></a>
					</h2>
				</header>
				<p class="meta">
					<span class="pv"><i class="fa fa-eye"></i>阅读(<?php echo $v['views']; ?>)</span>
					<span class="pc"><i class="fa fa-comments-o"></i>
					评论(<span id="sourceId::6312" class="cy_cmt_count">0</span>)
					</span>
				</p>
				<p class="note">
							<?php echo com_substr(strip_tags($v['content']),130); ?>
				</p>
			</article>
		<?php endforeach; endif; else: echo "" ;endif; ?>	
		<div class="pagination">
			<ul>
				<?php echo bluid_page($page_data,'article/lists','?id='.$info['id']); ?>
			</ul>
		</div>
	</div>
	</div>
	<aside class="sidebar">
					<div class="widget widget_ui_textads">
			<a class="style02" href="<?php echo $ext['blog_rec']['t4']; ?>" target="_blank"><strong><?php echo $ext['blog_rec']['t1']; ?></strong>
			<h2><?php echo $ext['blog_rec']['t2']; ?></h2>
			<p>
				<?php echo $ext['blog_rec']['t3']; ?>
			</p>
			</a>
		</div>
			
			<?php if($rec2): ?>
			<div class="widget widget_ui_posts" style="top: 0px;">
				<h3>蚂蚁推荐</h3>
				<ul>
					<?php if(is_array($rec2) || $rec2 instanceof \think\Collection): $i = 0; $__LIST__ = $rec2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
						<li>
						<a href="<?php echo url('article/detail','id='.$v['id']); ?>">
						<span class="thumbnail">
							<img data-src="<?php echo attach($v['pic']); ?>" class="thumb" src="<?php echo attach($v['pic']); ?>" style="display: block;">
						</span>
						<span class="text">
							<?php echo $v['title']; ?>
						</span>
						<span class="muted">阅读($v.views)</span>
						</a>
						</li>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</div>
			<?php endif; ?>
					<div class="widget widget_ui_tags">
			<h3>标签云</h3>
			<div class="items">
				<?php if(is_array($tag) || $tag instanceof \think\Collection): $i = 0; $__LIST__ = $tag;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
				<a href="<?php echo url('article/tag','key='.$key); ?>"><?php echo $key; ?> (<?php echo $v; ?>)</a>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
		</div>
	</aside>
</section>
<footer class="footer">
<div class="container">
	<p><?php echo $sys['right']; ?></p>
</div>
</footer>

<script>
window.jsui={
    www: 'http://<?php echo $_SERVER['HTTP_HOST']; ?>',
    uri: 'http://<?php echo $_SERVER['HTTP_HOST']; ?>/static/ablog',
    ver: '9.0.0'
};
</script>
<script type="text/javascript" src="/static/ablog/js/loader.js"></script>
<div class="m-mask">
</div>
<div class="rollbar" style="display: none;">
	<ul>
		<li><a href="javascript:(scrollTo());"><i class="fa fa-angle-up"></i></a>
		<h6>去顶部<i></i></h6>
		</li>
	</ul>
</div>
</body>
</html>